//
//  PaperAssessmentCollectionReusableView.m
//  智云题库
//
//  Created by 毕武侠 on 2017/4/5.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import "PaperAssessmentCollectionReusableView.h"

@interface PaperAssessmentCollectionReusableView ()

@property (nonatomic, strong) UILabel *label;

@end

@implementation PaperAssessmentCollectionReusableView

- (void)setTitle:(NSString *)title {
    _title = title;
    self.label.text = title;
}

- (UILabel *)label {
    if (_label == nil) {
        _label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH - 12, 24)];
        _label.textColor = [UIColor lightGrayColor];
        _label.font = [UIFont systemFontOfSize:14.0f];
        [self addSubview:_label];
    }
    return _label;
}

@end
